package com.winsdom.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class UserAndOrgPageVo{
    @ApiModelProperty(value = "主键id（组织）", example = "1")
    private Long id;
    @ApiModelProperty(value = "组织名称(企业名称)", example = "XXX企业")
    private String categoryName;
    @ApiModelProperty(value = "组织ID", example = "101")
    private Long categoryId;
    @ApiModelProperty(value = "登录账号", example = "TX0000")
    private String username;
    @ApiModelProperty(value = "姓名", example = "张三")
    private String name;
    @ApiModelProperty(value = "电话", example = "13554854526")
    private String phone;
    @ApiModelProperty(value = "账号状态", example = "0(禁用), 1(启用)")
    private Integer status;
    @ApiModelProperty(value = "角色", example = "[\n" + "\"超级管理员\",\n" + "\"项目经理\"\n" + "]")
    private List<String> roleNames;
}
